const express = require('express');
const router = express.Router();
const article = require('../src/controller/Article');
const Category = require('../src/controller/Category');
/*
/* GET home page. */
router.get('/getNav',Category.getNav);
router.get('/article/getList',article.getList);
router.get('/article/addView',article.addView);
router.get('/article/getOne',article.getOne);
router.get('/article/getHots',article.getHots);
router.get('/article/getRecs',article.getRecs);
router.get('/cate/getList',Category.getList);
router.get('/cate/getxilie',Category.getxilie);

module.exports = router;
